﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ResourceComment.aspx.cs" Inherits="sysadmin_CourseManager_ResourceComment" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>课件点评管理</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
     <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tree-titbg_right">
            <tr>
                <td class="tree-titbg_left">
                    <asp:Label ID="lbl_InfoTitle" runat="server" Text=""></asp:Label></td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="btnbg">

            <tr>
             <td>
                     <asp:CheckBox ID="chkAll" runat="server" Text="全选/取消" OnCheckedChanged="chkAll_CheckedChanged"
                        AutoPostBack="True" ValidationGroup="gs" />
                    <asp:CheckBox ID="chkCancel" runat="server" Text="反选" OnCheckedChanged="chkCancel_CheckedChanged"
                        AutoPostBack="True" ValidationGroup="gs" />
                    <asp:Button ID="btnDel" runat="server" Text="删除" CssClass="inputBotton2" 
                         onclick="btn_del_Click"/>
                    </td>
                <th>
                    <asp:Label ID="lbl_Title" runat="server" Text="评论标题"></asp:Label></th>
                   
                <td colspan="3">
                    <asp:TextBox ID="txt_Title" runat="server"></asp:TextBox>
                    <asp:Button ID="btn_Search" runat="server" Text="搜索" CssClass="inputBotton2" OnClick="btn_Search_Click" /></td>
            </tr>
        </table>
        <asp:Repeater ID="rpt_Comment" runat="server" OnItemCommand="rpt_Comment_ItemCommand" OnItemDataBound="rpt_ItemDataBound">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                    <tr>
                        <th>
                            &nbsp;</th>
                        <th>&nbsp;
                            <%=GetLanageValueByKey("ResourceComment_gv_c1", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!--评论标题-->
                        </th>
                        <th>&nbsp;
                            <%=GetLanageValueByKey("ResourceComment_gv_c2", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!--课件时间点-->
                        </th>
                        <th>&nbsp;<%=GetLanageValueByKey("ResourceComment_gv_c4", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                           <%--评论时间--%>
                        </th>
                        <th>
                            <%=GetLanageValueByKey("ManagerRole_gv_c4", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            &nbsp;
                            <!-- 操作-->
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:CheckBox ID="chkSelect" runat="server" />
                        <asp:Label ID="lblid" runat="server" Text='<%#Eval("GradeID")%>' Visible="False"></asp:Label>
                    </td>
                    <td>
                        <a title='<%#Eval("GradeContent")%>'> <%#Eval("GradeContentShort")%></a>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("GradeAsfTime")%>
                        &nbsp;
                    </td>
                     <td>
                        <%#Eval("GradeCreatetime")%>
                        &nbsp;
                    </td>
               
                    <td>
                     
                        <asp:LinkButton ID="lnkbtn_del" runat="server" CommandName="ldel" CommandArgument='<%#Eval("GradeID")%>'><%=GetLanageValueByKey("ManagerRole_gv_lnk_o2", PowerCreator.LMS.Language.LanagetItemType.Page)%>&nbsp;
                       <!-- 删除--></asp:LinkButton>
                        <asp:Label ID="lbl_rpt_msg" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                        ShowCustomInfoSection="Left" Width="100%" meta:resourcekey="AspNetPager1" Style="font-size: 14px"
                        InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                        FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
